package kr.saeildamil.androidstudty.ch16;

import kr.saeildamil.androidstudty.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class Ch16Main extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch16_main);
	}
	
	public void mOnClick(View v){
		Intent intent=new Intent();
		switch (v.getId()) {
		case R.id.ch16_btn01:
			intent.setClass(this, Ch16AlertDialog.class);
			break;
		case R.id.ch16_btn02:
			intent.setClass(this, ch16OderDialog.class);
		}
		startActivity(intent);
	}
}
